home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20020314-20021006 / 000014_casimir@roar.com_Thu Apr 4 09:50:52 EST 2002.msg < prev    next >
Text File  |  2020-01-01  |  1KB  |  40 lines

  1. Article: 13284 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
  3. From: casimir@roar.com (ALB)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: kermit scripts, full-duplex
  6. Date: 4 Apr 2002 03:27:12 -0800
  7. Organization: http://groups.google.com/
  8. Lines: 22
  9. Message-ID: <a228ca9f.0204040327.edef2d6@posting.google.com>
  10. NNTP-Posting-Host: 141.11.234.61
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1017919632 26479 127.0.0.1 (4 Apr 2002 11:27:12 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: 4 Apr 2002 11:27:12 GMT
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13284
  17.  
  18. Hello,
  19.  
  20. Is it possible to write a basic kermit script to perform full-duplex
  21. transfer ?
  22. The aim is to perform modem tests, without any protocols. Basically,
  23. send and receive the "check fox" string in loop, and verify
  24. automatically that no character are lost. The constraint is to be
  25. really full-duplex, and not
  26. sequentially send or receive.
  27.  
  28. it would be something like that:
  29.  wait_connection()
  30.  while (true){
  31.   how_many_bytes_can_I_send(&nb_bytes_tx)
  32.   send_fox_string(nb_bytes_tx)
  33.   get_number_of_bytes_received(&nb_bytes_rx)
  34.   read_bytes(buff_p, nb_bytes_rx)
  35.   check_fox_string(buff_p, nb_bytes)
  36. }
  37.  
  38.  
  39. Thanks
  40.